package com.cuit.dashboard.system.controller;

import com.cuit.dashboard.system.entity.SysAdminEntity;
import org.apache.shiro.SecurityUtils;

/**
 * @program: hulu-dashboard
 * @description: 存放登录人的信息
 * @author: KamTang
 * @create: 2022-06-08 17:16
 **/
public abstract class SysAdminAbstractController {

    protected SysAdminEntity getAdmin() {
        return (SysAdminEntity) SecurityUtils.getSubject().getPrincipal();
    }


}
